<ul>
    <li>1</li>
    <li>2</li>
    <li>3</li>
</ul>
<script>
    // ...
    // 扩展运算符
    // 把（类）数组或者（类）对象展开
    // ...数据


    // 展开数组
    let arr=[1,2,3,4]
    console.log(...arr);//1 2 3 4
    console.log(1,2,3,4);//1 2 3 4
    // ...arr ==> 1,2,3,4


    let oli= document.getElementsByTagName("li")
    console.log(oli);//HTMLCollection(3) [li, li, li] 元素集合
    console.log(...oli);


    let str="helloworld"
    console.log(...str);//h e l l o w o r l d
    console.log("h","e","l","l","o","w","o","r","l","");

    // 要求：把str转为数组
    // ...str ==》



</script>